﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="environmentadd.aspx.cs" Inherits="UI.system.page.environment.environmentadd" %>
<%@ Import Namespace="Model" %>
<%@ Import Namespace="Common" %>
<div style="margin: 15px;">
	<form class="layui-form" style="padding-left:0px;">
        <div class="layui-form-item">
			<label class="layui-form-label"><font>名称</font><em>*</em></label>
			<div class="layui-input-block">
                <input type="text" name="name" placeholder="请输入名称" lay-verify="required" autocomplete="off" class="layui-input" value="<%=info.Name %>">
			</div>
		</div>
        <div class="layui-form-item">
			<label class="layui-form-label"><font>图片</font><em>*</em></label>
			<div class="layui-input-inline">
				<div id="upload_products1" class='upload_product <%=string.IsNullOrEmpty(info.Img)?"":"hidden" %>'><div id="upload_file_o"></div></div>
                 <div id="upload_show1" class='upload_show <%=string.IsNullOrEmpty(info.Img)?"hidden":"" %>'>
                     <div id="img_container1" class="img_container" src="<%=info.Img %>"><img src="<%=info.Img %>"/></div>
                     <div class="reupload"><a href="javascript:Re_Upload1()">重传</a></div>
                 </div> <div style="float:left; color:red; padding-top:5px; font-size:12px; padding-left:10px;"></div>
			</div>
		</div>

        <div class="layui-form-item">
			<label class="layui-form-label"><font>显示顺序</font><em>*</em></label>
			<div class="layui-input-inline">
                <input type="text" name="sort" placeholder="请输入显示顺序" lay-verify="required" class="layui-input" value="<%=info.Sort %>">
			</div>
		</div>
        <div class="layui-form-item">
			<label class="layui-form-label"><font>内容</font></label>
			<div class="layui-input-block">
                <script id="context" type="text/plain" style="width:100%;height:250px;"><%=info.Context %></script>
			</div>
		</div>
		<a lay-filter="save" lay-submit style="display: none;"></a>
	</form>
</div>